<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../css/site/split.css">

<div id="panel-self-ethic-evaluation"   data-options="border:false;width:100%">
	<div class="well well-small" id="panel-title" style="margin: 5px;">		
		<p>
			<span class="badge">提示</span>
			<strong>医德医风自我评价</strong>
		</p>
	</div>
	  	
		<div class="condition easyui-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
			<form class="condition-form">
				<fieldset>
				<table> 	
					<tr>
						<th>考评编号</th>
						<td><input name="bizno" id="bizno" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
						<th>考评年度</th>
						<td><input name="evaluate_year" id="evaluate_year" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
						<th>所在科室</th>
						<td><input name="depart_name" id="depart_name" class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
						<th>人员姓名</th>
						<td><input id="person_name" name="person_name" class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					</tr>				
				</table>
				</fieldset>
			</form>
		</div>
		<div class="search-mm">
				
				<div name="bizno_like">评价编号</div>
				<div name="depart_name_like">所在科室</div>			
				<div name="person_name_like">人员姓名</div>
				<!--<div name="sqsj">申请时间</div>-->			
		</div>
	    <div class="tb-list" style="padding:2px 0">
			<table cellpadding="0" cellspacing="0"> 
				<tr>
					<td style="padding-left:2px" class="list-btn">
				
					</td>
					<td style="padding-left:2px">
						<input class="searchbox" type="text"/>
						<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  >查询条件</a>
						<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" iconCls="icon-search" >执行查询</a>
					</td>
				</tr>
			</table>
		</div>
		
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,							
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',						
			fitColumns: true,
			checkOnSelect:true,
			pagination:true,		
			selectOnCheck:true,
			rowStyler: function(index,row){
				if(row && !(row.status==0) ){
					return 'background-color:#efefef;color:#666;'; 
				}
			}">
			
			<thead>						
				<tr>
					<th field="ck" checkbox="true" ></th>
					<th field="bizno" width="60" align="center">评价编号</th>
					<th field="evaluate_year" width="60" align="center">考评年度</th>
					<th field="depart_name" width="100" align="center">所在科室</th>
					<th field="person_name" width="60" align="center">考评人员</th>
					<th field="evaluate" width="40" align="center">自我评价</th>					
					<th field="sel_score" width="60" align="center">自评得分</th>				 
					<th field="dept_score" width="40" align="center">科室评分</th>
					<th field="composite_score" width="40" align="center">终评得分</th>				
					<th field="evaluate_result" width="40" align="center">评价等级</th>							
					<th field="status" width="40" align="center" data-options="
						formatter:function(value,row,index){																
								
							switch (value){
								case '0':
									return '个人考评';
									break;		
								case '1':
									return '科室考评';
									break;
								case '2': 
									return '支部考评';
									break;
								case '3':
									return '医院考评';
									break;
								case '4':
									return '医德档案';
									break;
								default:
									return '个人考评';
									break;
							}								
						}
					">当前状态</th>
				</tr>
			</thead>
			
		</table>	
		
</div> 

 
<script>
requirejs(['listPageModule','ethicEvaluate','domReady!'],function(list,ethic,doc){
	list.init({doc:doc,
		rootId:'panel-self-ethic-evaluation',
		subSystemCode:'ethic',
		moduleCode:'selfEthicEvaluate',
		queryModule:'selfEthicEvaluate',
		editWindow:'ethic-evaluation-win',
		initQueryParams:{flowtype:'0'},
		querylistUrl:'getSelfListDomain',
		beforeDel	: ethic.beforeDel,
		edit_window_width:1000,
		maxWindowSize:true,
		initRootId:ethic.initRootId,
		rowDblClick:ethic.rowDblClick});
});	
</script>

